package com.jhgsys.internal.peccancy.service;

import com.jhgsys.internal.peccancy.entity.PeccancyClause;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 违章条款类型 Service接口
 *
 * @author admin
 * @date 2024-08-08 13:20:26
 */
public interface IPeccancyClauseService extends IService<PeccancyClause> {
    /**
     * 查询（分页）
     * @author admin
     * @date 2024-08-08 13:20:26
     * @param request QueryRequest
     * @param peccancyClause peccancyClause
     * @return IPage<PeccancyClause>
     */
    IPage<PeccancyClause> findPeccancyClausePage(QueryRequest request, PeccancyClause peccancyClause);

    /**
     * 查询（所有）
     * @author admin
     * @date 2024-08-08 13:20:26
     * @param peccancyClause peccancyClause
     * @return List<PeccancyClause>
     */
    List<PeccancyClause> findPeccancyClauseRuleList(PeccancyClause peccancyClause);

    /**
    * 根据ID查询
    * @author admin
    * @date 2024-08-08 13:20:26
    * @param id
    * @return PeccancyClause
    */
    PeccancyClause findPeccancyClauseById(String id);

    /**
     * 新增
     * @author admin
     * @date 2024-08-08 13:20:26
     * @param peccancyClause peccancyClause
     */
    void createPeccancyClause(PeccancyClause peccancyClause);

    /**
     * 修改
     * @author admin
     * @date 2024-08-08 13:20:26
     * @param peccancyClause peccancyClause
     */
    void updatePeccancyClause(PeccancyClause peccancyClause);

    /**
     * 逻辑删除
     * @author admin
     * @date 2024-08-08 13:20:26
     * @param peccancyClause peccancyClause
     * @param peccancyClauseIds peccancyClauseIds
     */
    void deletePeccancyClause(PeccancyClause peccancyClause,String peccancyClauseIds);

    /**
    * 物理删除
    * @author admin
    * @date 2024-08-08 13:20:26
    * @param peccancyClauseIds peccancyClauseIds
    */
    void physicallyDeletePeccancyClause(String peccancyClauseIds);
}
